package com.ruoyi.zzw.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 部门对象 t_department_manage
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
public class DepartmentManage extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门id */
    private Long cDepartmentId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String cDepartmentName;

    /** 部门类别 */
    @Excel(name = "部门类别")
    private String cDepartmentType;

    /** 部门描述 */
    @Excel(name = "部门描述")
    private String cDepartmentDescribe;

    /** 上级id */
    @Excel(name = "上级id")
    @JsonProperty("cPid")
    private String cPid;

    public void setcDepartmentId(Long cDepartmentId)
    {
        this.cDepartmentId = cDepartmentId;
    }

    public Long getcDepartmentId()
    {
        return cDepartmentId;
    }
    public void setcDepartmentName(String cDepartmentName)
    {
        this.cDepartmentName = cDepartmentName;
    }

    public String getcDepartmentName()
    {
        return cDepartmentName;
    }
    public void setcDepartmentType(String cDepartmentType)
    {
        this.cDepartmentType = cDepartmentType;
    }

    public String getcDepartmentType()
    {
        return cDepartmentType;
    }
    public void setcDepartmentDescribe(String cDepartmentDescribe)
    {
        this.cDepartmentDescribe = cDepartmentDescribe;
    }

    public String getcDepartmentDescribe()
    {
        return cDepartmentDescribe;
    }
    public void setcPid(String cPid)
    {
        this.cPid = cPid;
    }

    public String getcPid()
    {
        return cPid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cDepartmentId", getcDepartmentId())
            .append("cDepartmentName", getcDepartmentName())
            .append("cDepartmentType", getcDepartmentType())
            .append("cDepartmentDescribe", getcDepartmentDescribe())
            .append("cPid", getcPid())
            .toString();
    }
}
